/*
 * 百度在线网络技术（北京）有限公司拥有本软件版权2021并保留所有权利。
 * Copyright 2021, Baidu.com,Inc 2:Baidu Online Network Technology (Beijing) Co.,Ltd,
 * All rights reserved.
 */

package com.azdebugit.spring.beantest.cnblog.spring.valu01; /**
 * @author n00444323
 * @date 2019/1/15 12:12
 */
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
 
/**
 * @param
 * @return
 * @throws
 */
 
@Configuration
public class MyConfig
{
 
    @Bean
    public UserDao createUserDao ()
    {
        return new UserImpl();
    }
 
    @Bean
    public UserDao createUserDao2 ()
    {
        return new UserImpl();
    }
 
 
 
}